package com.medical.service.impl;

import com.medical.mapper.DemoMapper;
import com.medical.pojo.Demo;
import com.medical.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * @author Jerry.xu
 * @date 2024/11/20
 */

@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    private DemoMapper demoMapper;

    @Override
    public List<Demo> findAll() {
        return demoMapper.findAll();
    }
}
